﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XuanXiang.Infrastructure.Dto.Response.Supplier
{
    /// <summary>
    /// 供应商数据传输对象，用于封装供应商相关数据，便于在系统各层之间传递
    /// </summary>
    public class Supplier_Dto
    {
        public string? id { get; set; }
        /// <summary>
        /// 商户（供应商）名称
        /// </summary>
        public string? name { get; set; }

        /// <summary>
        /// 供应商logo
        /// </summary>
        public string? logo { get; set; }

        public string? account { get; set; }

        /// <summary>
        /// 图片
        /// </summary>
        public string? photo { get; set; }

        /// <summary>
        /// 成交额（成交金额）
        /// </summary>
        public double? turnoverMoney { get; set; }

        /// <summary>
        /// 总金额
        /// </summary>
        public double? totalMoney { get; set; }

        /// <summary>
        /// 取消额（取消金额）
        /// </summary>
        public double? cancelMoney { get; set; }

        /// <summary>
        /// 购买数量
        /// </summary>
        public int? buyCount { get; set; }

        /// <summary>
        /// 订单数
        /// </summary>
        public int? orderCount { get; set; }

        /// <summary>
        /// 已完成订单数
        /// </summary>
        public int? completedOrderCount { get; set; }

        /// <summary>
        /// 已取消订单数
        /// </summary>
        public int? canceledOrderCount { get; set; }

        /// <summary>
        /// 是否激活（可根据业务约定，比如用布尔值或数字表示，这里示例用布尔）
        /// </summary>
        public bool? isActive { get; set; }

        /// <summary>
        /// 是否禁用（可根据业务约定，比如用布尔值或数字表示，这里示例用布尔）
        /// </summary>
        public bool? isBan { get; set; }

        /// <summary>
        /// 时间（创建时间、相关业务时间等，根据实际业务确定）
        /// </summary>
        public string? time { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        public string? address { get; set; }

        /// <summary>
        /// 公告
        /// </summary>
        public string? announcement { get; set; }
    }
}